home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / windows 95 utilities / games / gaming utilities / quakeworld client / qw-win.txt < prev    next >
Text File  |  1996-12-12  |  24KB  |  519 lines

  1. ------------------------------------------
  2. | Windows-related QuakeWorld information |
  3. ------------------------------------------
  4.  
  5. QuakeWorld is a Win32 app, and will run on either Win95 or Windows NT.  
  6. It is designed to take advantage of whatever enhanced video and sound 
  7. capabilities (such as DirectX or VESA video modes) are present, but has 
  8. fallback functionality so it can run on any Win32 system, even if, for 
  9. example, neither DirectX nor VESA is installed.  You may experience 
  10. problems running QW on some systems, because driver and operating-system 
  11. support for game functionality are not yet mature, and many bugs and 
  12. incompatibilities remain.  This document will describe the Windows-
  13. specific functionality (video and sound) supported by QW, and known 
  14. problems and workarounds.  If you encounter what seems to be a bug, 
  15. please fill out and submit the QuakeWorld bug report at 
  16. http://www.idsoftware.com/contact/.
  17.  
  18. The rest of this document is organized as follows:
  19.  
  20. Common problems and workarounds
  21. A bit about how QW video works
  22. Video command-line switches
  23. A bit about how QW sound works
  24. Sound command-line switches
  25.  
  26.  
  27.  
  28. -----------------------------------
  29. | Common problems and workarounds |
  30. -----------------------------------
  31.  
  32. QW crashes or won't run
  33. -----------------------
  34.  
  35. If the QW client refuses to run or crashes on your system, try running 
  36. it with the following command line:
  37.  
  38. qwcl -nodirectdraw -nowindirect -wavonly
  39.  
  40. This will almost certainly solve your problem; however, it may result in 
  41. lagged sound (a long delay from action to hearing the sound), and may 
  42. result in fewer or slower high-res video modes.  If the above command-
  43. line does work, you can try removing each of the command-line switches 
  44. until you identify the one that fixes the problem, thereby sacrificing 
  45. as little functionality as possible.
  46.  
  47. If the above command line does not fix your problems, try:
  48.  
  49. qwcl -dibonly -nosound
  50.  
  51. which forces QW into silent operation with bare-bones video support.  
  52. Again, if this works, try removing switches until you identify the 
  53. needed one.
  54.  
  55. Both of the above command lines are quick fixes.  Often, the problem is 
  56. caused by outdated or buggy DirectX drivers or code, and can frequently 
  57. be completely fixed simply by installing the latest Microsoft-supplied 
  58. version of DirectX, which can be downloaded from 
  59. http://www.microsoft.com/mediadev/download/directx.zip; it is a 6.3 Mb 
  60. file.  (In fact, getting the latest MS-supplied version of DirectX is a 
  61. good idea if you have any video or sound problem.)
  62.  
  63. One known problem of this sort involves the current SB16 drivers from 
  64. Creative Labs, which cause QW to crash on some machines.  The 
  65. DirectSound drivers from Microsoft, available via the above-mentioned 
  66. URL, fix this problem.
  67.  
  68. It can also sometimes help to get the latest Windows drivers for your 
  69. video adapter or sound card (although as the SB16 example indicates, 
  70. this is not always a good idea), and for video boards that have flash 
  71. BIOSes, it can help to get the latest BIOS upgrade.
  72.  
  73.  
  74. How do I select fullscreen or windowed QW operation?
  75. ----------------------------------------------------
  76. Check out QW's new, spiffy Video menu, accessible from the Options menu.  
  77. There are now two types of modes listed, windowed and fullscreen.  You 
  78. can make any of these modes the current and/or default mode, just as in 
  79. DOS Quake.  If you make a windowed mode the default, QW will still 
  80. briefly start up in fullscreen mode, then switch to windowed; if this is 
  81. a problem, use the -startwindowed command-line switch.  More complete 
  82. video control is available through the console, as described in the “A 
  83. bit about how QW video works” section, below.
  84.  
  85.  
  86. QW crashes when Alt-Tabbing from fullscreen QW to a fullscreen DOS box
  87. ----------------------------------------------------------------------
  88. We are in the process of adding a VxD to solve this problem, but 
  89. currently you should never Alt-Tab from a fullscreen QW session using a 
  90. DirectDraw or VESA mode or VGA mode 0x13 to a fullscreen DOS box.  (You 
  91. can tell whether a mode is a DirectDraw or VESA mode or VGA mode 0x13 by 
  92. using vid_describemodes in the console, as discussed below.)  If this is 
  93. a particular problem for you, try running -dibonly.  Apart from 
  94. switching to a fullscreen DOS box, Alt-Tab, Ctrl-Esc, and the Windows 
  95. Key should work properly.
  96.  
  97.  
  98. Multiple Alt-Tabs sometimes leave screen blank
  99. ----------------------------------------------
  100. Sometimes, rapidly pressing Alt-Tab multiple times leaves a blank 
  101. screen.  If this happens, just press Alt-Tab slowly one or two more 
  102. times, and the screen will come back.
  103.  
  104.  
  105. DOS Quake reports unknown variables on startup after running QW
  106. ---------------------------------------------------------------------
  107. QW uses some console variables that do not exist in DOS Quake, and some 
  108. of these are automatically archived in config.cfg when you exit QW.  If 
  109. you then start DOS Quake, DOS Quake will complain that it doesn't 
  110. recognize those variables.  You will also lose the settings of these 
  111. variables when you return to QW.  Apart from losing the settings, this 
  112. is harmless; ignore it.
  113.  
  114.  
  115. Can't run fullscreen on NT 3.51
  116. -------------------------------
  117. Unfortunately NT 3.51 doesn't support DirectDraw or any other mode-
  118. setting mechanism.  You can run in a window, though.
  119.  
  120.  
  121. Ctrl-Alt-Del does bad things when running fullscreen
  122. ----------------------------------------------------
  123. We're working on a VxD to fix this one, but it's true that in DirectDraw 
  124. and VESA fullscreen modes, Ctrl-Alt-Del on Win95 results in a blank 
  125. screen.  Try not to do this, and if you do, hit Esc to return to QW.  
  126. (DON'T hit Enter, because that kills QW, and then you're stuck there 
  127. with a blank screen and no way to get back to the desktop.)
  128.  
  129.  
  130. QW crashes while switching modes or Alt-Tabbing
  131. -----------------------------------------------
  132. So far, all cases of this seem to be tied to Creative Lab's SB16 sound 
  133. drivers, and have been fixed by getting the latest DirectX drivers, as 
  134. described above.  Alternatively, you should be able to fix this either 
  135. by not switching modes or Alt-Tabbing, or by running -wavonly to disable 
  136. DirectSound support.
  137.  
  138.  
  139. Gee, I wish I could use a mouse to play QW with when running in a window
  140. ------------------------------------------------------------------------
  141. You can!  While in a windowed mode, go to the Options menu.  At the 
  142. bottom, you'll find a new selection that lets you choose to have the 
  143. mouse active when you're in a window.  Of course, if you do this, you'll 
  144. have to use the keyboard (Alt-Tab, the Windows key, or Ctrl-Esc) to 
  145. switch away from QW.
  146.  
  147.  
  148. The maximize box on the QW window doesn’t work
  149. ----------------------------------------------
  150. It’s not supposed to; it’s grayed out.  You don’t want to run a 
  151. fullscreen window at your desktop resolution; it’d be really slow.  
  152. That’s why we have all those nifty lower-resolution fullscreen modes in 
  153. the Video menu.
  154.  
  155.  
  156. QW sometimes runs pretty slowly fullscreen
  157. ------------------------------------------
  158. There are several possible reasons for this, starting with “You have a 
  159. slow computer.”  Assuming that's not the case, if you don't have either 
  160. DirectDraw or Scitech Display Doctor installed (see the “A bit about 
  161. how QW video works” section), it would probably be a good thing to 
  162. install one or the other, because slow operation can be a result of slow 
  163. copying or stretching of pixels to the screen by a Windows driver, 
  164. something that's eliminated by both DirectDraw and Display Doctor.  The 
  165. -noforcevga command-line switch can also help produce a faster 320x200 
  166. mode on Win95 (but may not work on some video cards); you can get the 
  167. same result by doing vid_describemodes, then using vid_mode to select a 
  168. non-VGA 320x200 mode, as described in the “A bit about how QW video 
  169. works” section.  That's about all you can do to speed up fullscreen QW 
  170. on Win95, other than shrinking the active area of the screen.
  171.  
  172. NT 4.0 comes with DirectX installed, but doesn't have any resolutions 
  173. lower than 640x480.  In order to support a lower-resolution 320x240 
  174. mode, QW has NT stretch each pixel in both directions to get enough 
  175. pixels for 640x480.  The extra stretching costs some performance, the 
  176. result being that NT can seem sluggish on all but high-end Pentiums and 
  177. Pentium Pros.  (In fact, depending on the quality of your driver's 
  178. stretching code, it can sometimes be faster to run QW at 640x480 than 
  179. 320x240-stretched on NT.)  One thing that can help is using the Options 
  180. menu to shrink the active area of the screen.
  181.  
  182. A common cause of slowness running in a window is having the desktop run 
  183. in 16- or 32-bpp mode.  QW is an 8-bpp application, and it slows things 
  184. down if pixels have to be translated from 8-bpp to 16- or 32-bpp.  (Note 
  185. that this is generally a problem only when running in a window; 
  186. fullscreen apps will almost never suffer from this.)
  187.  
  188.  
  189. Sound is sluggish on NT
  190. -----------------------
  191. NT doesn't have any real DirectSound drivers yet, so there's no way to 
  192. do quick-response sound on NT.  When DirectSound drivers for NT appear, 
  193. QW's sound should automatically be snappier.
  194.  
  195.  
  196. Sound breaks up or gets choppy, especially in menus
  197. ---------------------------------------------------
  198. This is generally a sign that QW's frame rate is too low on your system.  
  199. Try reducing resolution or shrinking the active area of the screen 
  200. (getting a faster computer is another, more expensive alternative).  In 
  201. some circumstances, it may help to set the console variable 
  202. _snd_mixahead to a larger value.
  203.  
  204.  
  205. The color black doesn't change with palette flashes sometimes
  206. -------------------------------------------------------------
  207. DirectDraw lets QW change all 256 colors, so when a palette flash 
  208. happens, we can change all the colors, including black.  However, on NT, 
  209. DirectDraw doesn't allow changing black; likewise, black can't be 
  210. changed in a window, either a normal window or fullscreen.  
  211. Consequently, some parts of the QW screen (such as the sigils on the 
  212. status bar and the spray where a shotgun blast hits) stay black when the 
  213. palette flashes.  There is no workaround.
  214.  
  215.  
  216. Problems can result if Office shortcut bar is running
  217. -----------------------------------------------------
  218. Various odd behavior, especially with sound, has been reported if the 
  219. Office shortcut bar is running while QW is running.  If you experience 
  220. odd problems, you might try shutting down the Office shortcut bar and 
  221. see if that fixes anything.
  222.  
  223.  
  224. QW has no sound when another app was playing sound in background
  225. ------------------------------------------------------------
  226. If another app is playing a sound in the background while QW starts, QW 
  227. will be unable to gain control of the sound hardware, and will not 
  228. output any sound.  If this happens, exit QW, stop the other app from 
  229. making sound, and restart QW.
  230.  
  231.  
  232. Win95 crashes when another app was playing sound in background
  233. -----------------------------------------------------------
  234. There is a report of Win95 crashing when another app starts a sound just 
  235. as QW initializes sound during startup.  This is rare even for this 
  236. person, but if this becomes a problem for you, shut down the offending 
  237. app if possible, or try running -wavonly, which will result in less 
  238. snappy sound but shouldn’t cause a crash.
  239.  
  240.  
  241. QW gets funny colors when it’s not the active app
  242. -------------------------------------------------
  243. QW is a palettized app, and needs all 256 colors to look right.  When it 
  244. isn’t the active app, it loses the ability to get more than 236 colors 
  245. (and if there’s another palettized app running, QW may not be able to 
  246. get any of the exact colors it wants), so it does its best (which is 
  247. sometimes not very good) to look right using the current colors.  But it 
  248. puts everything back again as soon as it is reactivated, and anyway, 
  249. when it’s not active, you can’t actually do anything in QW, so it 
  250. doesn’t really matter anyway, right?
  251.  
  252.  
  253. Desktop redraws a lot when QW runs windowed
  254. -------------------------------------------
  255. We're fixing this, but right now when QW runs windowed and the palette 
  256. changes, the other stuff on the desktop often redraws, sometimes 
  257. flickering as it does so.  Apart from being ugly, the extra redrawing 
  258. can cause a noticeable slowdown.  The best fix is to run fullscreen; 
  259. otherwise, minimize as much stuff as possible to reduce redrawing.
  260.  
  261.  
  262. Fullscreen QW sometimes drops the connection when switched away from
  263. --------------------------------------------------------------------
  264. If QW is running in a fullscreen mode that’s not a fullscreen window 
  265. mode (that is, if it’s a DirectDraw mode, a VESA mode, or 320x200 VGA 
  266. mode 0x13), then if you switch away with Alt-Tab, Ctrl-Esc, or the 
  267. Windows key, QW will be suspended.  Not paused—completely suspended, 
  268. doing nothing.  After about 30 seconds, your net connection to the 
  269. server will be dropped.  We’re really sorry about this, but right now we 
  270. can’t change it.  One workaround is to change to a windowed video mode 
  271. when you want to switch away; there’s no connection dropping if you’re 
  272. running in a normal window.  You could also try running -dibonly, which 
  273. uses fullscreen windows for fullscreen modes; QW is not paused when you 
  274. switch away from fullscreen in this case.  The downside to -dibonly is 
  275. that it can be significantly slower than normal fullscreen modes, 
  276. especially at low resolutions. 
  277.  
  278.  
  279. High-resolution modes don’t work on the Intergraph Reactor
  280. ----------------------------------------------------------
  281. Sad but true.  Working on it, but for now try -nowindirect and see if 
  282. that fixes things.  Or maybe their latest BIOS upgrade fixes the 
  283. problem.
  284.  
  285.  
  286. Sometimes Permedia boards crash unless -nowindirect is used
  287. -----------------------------------------------------------
  288. Still working on this one too; for now, use -nowindirect.
  289.  
  290.  
  291. Keys whacked during mode switches sometimes go to other apps
  292. ------------------------------------------------------------
  293. During a mode switch, there is a small period when QW doesn’t have any 
  294. window, and if you hit keys then, they will go to the next app on the 
  295. desktop, possibly doing things you won’t like.  So please don’t whack 
  296. keys during mode sets.
  297.  
  298.  
  299. Problems if an autorun CD is inserted while QW is fullscreen
  300. ------------------------------------------------------------
  301. If you insert an autorun CD, then exit its window, you’ll switch back to 
  302. the QW window, but input won’t be going to QW properly for some reason.  
  303. Just do an Alt-Tab and you’ll be fine.
  304.  
  305.  
  306. Right-click|close on QW button in system bar to close doesn’t work
  307. ------------------------------------------------------------
  308. This specific problem only happens running -dibonly (with fullscreen 
  309. windows); right-click doesn’t work at all when minimized in other 
  310. fullscreen modes.  Working on it; for now, don’t do it.
  311.  
  312.  
  313. Quake turns system sound down to zero
  314. -------------------------------------
  315. This happens occasionally, although we have no idea why yet.  If it 
  316. happens to you and you see any potential causative event, please let us 
  317. know.
  318.  
  319.  
  320. Screen saver never kicks in when running fullscreen
  321. ---------------------------------------------------
  322. Actually, it doesn’t kick in if you’re running windowed with the mouse 
  323. enabled, either.  The mouse code does stuff that convinces Windows we’re 
  324. never idle.  We’ll fix this in the future if people think it’s a 
  325. problem.
  326.  
  327.  
  328. QW doesn’t work in a window in 16-color mode
  329. --------------------------------------------
  330. That’s 16 *colors*, not 16-bpp.  If you’re still running 16-color mode, 
  331. only run QW fullscreen.
  332.  
  333.  
  334. There’s no joystick support
  335. ---------------------------
  336. Not yet.  Sorry about that.
  337.  
  338.  
  339.  
  340. ----------------------------------
  341. | A bit about how QW video works |
  342. ----------------------------------
  343.  
  344. QW has the built-in ability to draw into windows, both normal, framed 
  345. desktop windows and fullscreen, borderless windows.  It also has built-
  346. in support for VGA 320x200 graphics, and supports both DirectDraw and 
  347. VESA graphics modes if those are available.
  348.  
  349. In order for DirectDraw modes to be available, you must have DirectDraw 
  350. installed; some systems come with it preinstalled, but if it's not on 
  351. your system, you can download it from 
  352. http://www.microsoft.com/mediadev/download/directx.zip (it is a 6.3 Mb 
  353. file), and install it.
  354.  
  355. In order for VESA modes to be available, a driver must be installed; a 
  356. VESA driver can either be built into the BIOS, or loadable software.  
  357. The most common VESA driver is Scitech Display Doctor, from Scitech 
  358. Software. The latest version of Display Doctor can be obtained from the 
  359. following locations:
  360. -----------------------------------------------------------------------
  361. www: http://www.scitechsoft.com
  362. ftp: ftp.scitechsoft.com
  363. CIS: GO SCITECH
  364. AOL: Keyword SciTech
  365.  
  366. SciTech can be contacted at:
  367.  
  368. email: sales@scitechsoft.com
  369.  
  370. SciTech Software
  371. 5 Governors Lane, Suite D
  372. Chico, CA  95926-1989
  373. -----------------------------------------------------------------------
  374.  
  375. What all this means is that on Win95, QW will always be able to run in 
  376. the following modes:
  377.  
  378. 1)  in a window
  379. 2)  fullscreen 320x200 VGA mode 0x13 (unless -noforcevga is used)
  380. 3)  fullscreen high-resolution of some sort
  381.  
  382. Category #3 can be any of several configurations.  On Win95, if either 
  383. DirectDraw or VESA modes are available, then all the DirectDraw and VESA 
  384. modes will be presented as high-res choices.  (320x200 will always 
  385. default to VGA mode 0x13 unless the -noforcevga command-line switch is 
  386. used.)  In the case that a given resolution is supported by both 
  387. DirectDraw and VESA, the VESA mode will be used.  (However, the command-
  388. line switch -nowindirect can turn off VESA modes entirely.)  If neither 
  389. DirectDraw nor VESA modes are available, then high-resolution modes will 
  390. be provided by using fullscreen, borderless windows in whatever 
  391. resolutions the Windows driver supports, usually starting at 640x480 and 
  392. going up.
  393.  
  394. NT is similar but not identical, because neither VESA modes nor VGA mode 
  395. 0x13 are available.  On NT, QW will always be able to run in the 
  396. following modes:
  397.  
  398. 1)  in a window
  399. 2)  fullscreen high-resolution of some sort
  400.  
  401. On NT, category #3 can be one of two configurations.  If DirectDraw 
  402. modes are available, then those will be the high-res choices; otherwise, 
  403. fullscreen, borderless windows will be used in whatever resolutions the 
  404. driver supports, usually starting at 640x480 and going up.  Because 
  405. there is normally no low-resolution mode such as 320x200 or 320x240 on 
  406. NT, a pseudo low-res mode is created by rendering at 320x240, then 
  407. stretching the image by doubling it in each direction while copying it 
  408. to a 640x480 screen.  However, stretching performance depends on the 
  409. driver, and can be slow, so sometimes 640x480 is actually faster than 
  410. 320x240 on NT.
  411.  
  412. The bottom line here is that you can generally just use the Video menu 
  413. and pick one of the modes and be happy.  In some cases, though, you may 
  414. need to use command-line switches (described next) to get the types of 
  415. modes you want.  One useful tip is to go into the console and do 
  416. vid_describemodes, which lists all the modes QW supports on your machine 
  417. given the command-line switches you've used.  Each mode is followed by 
  418. the name of the internal QW driver that supports it, so you can tell 
  419. which modes are DirectDraw, VESA, and so on, as follows:
  420.  
  421. WINDOWED: QW runs in a normal window
  422. FULLSCREEN VGA8.DRV: VGA 320x200 mode
  423. FULLSCREEN ACCEL8.DRV: VESA mode
  424. FULLSCREEN DDRAW8.DRV: DirectDraw mode
  425. FULLSCREEN DIB: fullscreen borderless window
  426.  
  427. You can use vid_mode from the console to set any of these modes.  So, 
  428. for example, if you see that there are two 320x200 modes (such as one 
  429. VGA mode 0x13, normally mode 3, and one VESA mode, normally mode 4), you 
  430. can choose the VESA mode, which will often be faster, with vid_mode 4.
  431.  
  432. The windowed modes are more interesting than they seem.  320x240 is just 
  433. what you’d think, but 640x480 is actually rendered at 320x240 and 
  434. stretched up to 640x480, because most machines can’t handle real 640x480 
  435. rendering.  Likewise, 800x600 is a stretched 400x300.  Actually, though, 
  436. vid_mode 2 (the 800x600 mode) is a user-configurable mode.  By setting 
  437. the following console variables, you can change the characteristics of 
  438. vid_mode 2:
  439.  
  440. vid_config_x: width of window
  441.  
  442. vid_config_y: height of window
  443.  
  444. vid_stretch_by_2: whether to render at half-resolution in each direction 
  445. and stretch up to the specified size, or render at full resolution
  446.  
  447. After setting these variables in the console, do a vid_forcemode 2, and 
  448. you’ll have the window you specified.  Note that after making these 
  449. changes, the new resolution will show up as the third windowed mode in 
  450. the Video menu.
  451.  
  452.  
  453.  
  454. -------------------------------
  455. | Video command-line switches |
  456. -------------------------------
  457.  
  458. The full list of video-related command-line switches is:
  459.  
  460. -dibonly: QW will use only windows (both normal, framed windows on the 
  461. desktop and fullscreen, borderless windows), not any direct hardware 
  462. access modes such as DirectDraw or VESA modes, or even VGA 320x200 mode.  
  463. This is the closest thing to a guaranteed-to-run fullscreen mode QW has.
  464.  
  465. -nowindirect: QW will not try to use VESA modes.  Note that if there are 
  466. both DirectDraw and VESA modes for a given resolution, QW will normally 
  467. use the VESA mode; -nowindirect allows DirectDraw modes to be the 
  468. preferred choice for all resolutions except 320x200 (see -noforcevga 
  469. below).
  470.  
  471. -nodirectdraw: QW will not try to use DirectDraw modes.
  472.  
  473. -startwindowed: QW will come up in a windowed mode, without going 
  474. fullscreen even during initialization.
  475.  
  476. -noforcevga: normally, QW uses VGA mode 0x13 for the default 320x200 
  477. mode, even if a DirectDraw or VESA 320x200 mode exists.  However, 
  478. DirectDraw and VESA modes can be considerably faster than mode 0x13, 
  479. because they can set up a linear framebuffer with higher memory 
  480. bandwidth.  If you specify -noforcevga, the default 320x200 mode will be 
  481. a DirectDraw or VESA mode if one exists.  The downside to this switch is 
  482. that DirectDraw and VESA modes can cause problems in some systems, due 
  483. to driver bugs or hardware incompatibilities; if you experience problems 
  484. with this switch, don't use it.
  485.  
  486.  
  487. ----------------------------------
  488. | A bit about how QW sound works |
  489. ----------------------------------
  490.  
  491. QW can use either DirectSound or Windows wave output to generate sound.  
  492. If DirectSound is available, it is used; if not, if wave sound is 
  493. available it is used; and if neither is available, there is no sound.  
  494. DirectSound results in the best sound quality, and also the lowest-
  495. latency sound; use it if you can, because you will be happier with the 
  496. results.  (Note, though, that no NT sound drivers yet support 
  497. DirectSound.)  Wave sound will often have high latency, lagging the 
  498. events that generate sound by hundreds of milliseconds on some machines.
  499.  
  500. Note that QW generates sound only when it is the active app, the one 
  501. with the input focus.  
  502.  
  503.  
  504.  
  505. -------------------------------
  506. | Sound command-line switches |
  507. -------------------------------
  508.  
  509. The full list of sound-related command-line switches is:
  510.  
  511. -wavonly: don’t use DirectSound, but use wave sound if available
  512.  
  513. -nosound: don’t output any sound
  514.  
  515. ========================================================================
  516. End of Document 12/10/96
  517. ========================================================================
  518.  
  519.